package com.pingan.haofang.searchcloud.api.query.parser.element;

import com.pingan.haofang.searchcloud.api.matedata.IndexMeta;

import net.sf.jsqlparser.statement.select.Select;

/**
 * ClassName: SelectStatement <br>
 * Function: select语句解析结果
 *
 * @author luyi
 * @version 1.0.0
 * @since 1.0.0
 * @date 20150523
 */
public class SelectStatement {

    /**
     * JSQLPARSER解析结果
     */
    private Select select;

    /**
     * 查询块
     */
    private QueryBlock queryBlock;
    
    /**
     * 原始SQL
     */
    private String sqlPlain;

    /**
     * META
     */
    private IndexMeta meta;

    public Select getSelect() {
        return select;
    }

    public void setSelect(Select select) {
        this.select = select;
    }

    public QueryBlock getQueryBlock() {
        return queryBlock;
    }

    public void setQueryBlock(QueryBlock queryBlock) {
        this.queryBlock = queryBlock;
    }

    public String getSqlPlain() {
        return sqlPlain;
    }

    public void setSqlPlain(String sqlPlain) {
        this.sqlPlain = sqlPlain;
    }

    public IndexMeta getMeta() {
        return meta;
    }

    public void setMeta(IndexMeta meta) {
        this.meta = meta;
    }

}
